// pages/myVedio/myVedio.js
//富文本 插件
var WxParse = require('../wxParse/wxParse.js');

Page({
   
  data: {

  },

  getMyVedios: function () {
    wx.showLoading({
      title: 'loading',
    })
    const that = this;
    wx.request({
      url: 'https://www.aivin666.cn/AivinInfo/getAllVedioInfoGson',
      data: { pageNum: 2  },
      header: { 
        'Content-Type': 'application/json'
      },
      method: 'post',  

      success: function (res) {
       
        that.setData({
          vedioList : res.data
        });
        wx.hideLoading();
      }
    })
  },

  
  onLoad: function (options) {

    this.getMyVedios();
    var that = this;
    
  },
 
  
  onPullDownRefresh: function () {

  },

   
  onReachBottom: function () {

  },

 
  onShareAppMessage: function () {

  }
})